
package console.main;

import network.httpProxy.HTTPProxyServerStarter;
import network.httpsServer.HttpsServerStarter_443;
import network.httpsServer.HttpsServerStarter_8443;
import network.sslProxy.SSLProxyStarter;
import network.utils.ProxyConstants;

/**
 * Main Runner Calss.
 * 
 * @author http://arunava.in
 * 
 */
public class ProxyRunner {

	public static void runServers() {
		main(null);
	}

	public static void main(final String[] args) {
		System.setProperty("javax.net.ssl.keyStore",
				ProxyConstants.KEYSTORE_PATH);
		System.setProperty("javax.net.ssl.keyStorePassword",
				ProxyConstants.KEYSTORE_PASSWORD);
		new SSLProxyStarter().start();
		new HTTPProxyServerStarter().start();
		new HttpsServerStarter_8443().start();
		new HttpsServerStarter_443().start();

	}
}
